import { ElMessage } from 'element-plus'

const handleErrorMessage = (error: boolean | unknown , message: string) => {
  if (!error) ElMessage.error(message)
}
export { handleErrorMessage }
